package cn.tedu.tourism.passenger.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Passenger {
    @ApiModelProperty(value = "旅客id")
    Long id;
    @ApiModelProperty(value = "旅客姓名")
    String name;
    @ApiModelProperty(value = "用户id")
    Long userId;
    @ApiModelProperty(value = "旅客性别")
    String gender;
    @ApiModelProperty(value = "旅客生日")
    Date birthDate;
    @ApiModelProperty(value = "旅客手机号")
    String phone;
    @ApiModelProperty(value = "旅客邮箱")
    String email;
    @ApiModelProperty(value = "旅客国籍")
    String nationality;
    @ApiModelProperty(value = "旅客身份证号码")
    String cardNum;
    @ApiModelProperty(value = "创建时间")
    Date createdTime;
    @ApiModelProperty(value = "更新时间")
    Date updatedTime;
}
